//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.xyy.kingdeek3cloud.entity.pop;

import java.io.Serializable;

public class ResultDto implements Serializable {
    private String dataJson;
    private String sign;

    public static ResultDtoBuilder builder() {
        return new ResultDtoBuilder();
    }

    public String getDataJson() {
        return this.dataJson;
    }

    public String getSign() {
        return this.sign;
    }

    public void setDataJson(String dataJson) {
        this.dataJson = dataJson;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        } else if (!(o instanceof ResultDto)) {
            return false;
        } else {
            ResultDto other = (ResultDto)o;
            if (!other.canEqual(this)) {
                return false;
            } else {
                Object this$dataJson = this.getDataJson();
                Object other$dataJson = other.getDataJson();
                if (this$dataJson == null) {
                    if (other$dataJson != null) {
                        return false;
                    }
                } else if (!this$dataJson.equals(other$dataJson)) {
                    return false;
                }

                Object this$sign = this.getSign();
                Object other$sign = other.getSign();
                if (this$sign == null) {
                    if (other$sign != null) {
                        return false;
                    }
                } else if (!this$sign.equals(other$sign)) {
                    return false;
                }

                return true;
            }
        }
    }

    protected boolean canEqual(Object other) {
        return other instanceof ResultDto;
    }

    public int hashCode() {
        boolean PRIME = true;
        int result = 1;
        Object $dataJson = this.getDataJson();
        result = result * 59 + ($dataJson == null ? 43 : $dataJson.hashCode());
        Object $sign = this.getSign();
        result = result * 59 + ($sign == null ? 43 : $sign.hashCode());
        return result;
    }

    public String toString() {
        return "ResultDto(dataJson=" + this.getDataJson() + ", sign=" + this.getSign() + ")";
    }

    public ResultDto() {
    }

    public ResultDto(String dataJson, String sign) {
        this.dataJson = dataJson;
        this.sign = sign;
    }

    public static class ResultDtoBuilder {
        private String dataJson;
        private String sign;

        ResultDtoBuilder() {
        }

        public ResultDtoBuilder dataJson(String dataJson) {
            this.dataJson = dataJson;
            return this;
        }

        public ResultDtoBuilder sign(String sign) {
            this.sign = sign;
            return this;
        }

        public ResultDto build() {
            return new ResultDto(this.dataJson, this.sign);
        }

        public String toString() {
            return "ResultDto.ResultDtoBuilder(dataJson=" + this.dataJson + ", sign=" + this.sign + ")";
        }
    }
}
